package com.fhz.mvvmtest.base;

import android.os.Bundle;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.databinding.DataBindingUtil;

/**
 * 时间:11/15/21
 *
 * @author msfeng
 * 简述: TODO
 */
public abstract class BaseActivity extends AppCompatActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
//        setContentView(layoutId());
        initEnv();
        initData();
    }

    protected abstract void initEnv();
    protected abstract int layoutId();
    protected abstract void initData();

}
